package worker.model.vo;

public class HistoryVO {
	private int history_id;
	private MemberVO memberVO;
	private OperationsVO operationsVO;
	private DefectsVO defectsVO;
	private WorkOrdersVO workOrdersVO;
	private String date_time;
	private int quantity;
	private String serial_no;

	public HistoryVO() {
		super();
	}
	
	public HistoryVO(MemberVO memberVO, WorkOrdersVO workOrdersVO) {
		super();
		this.memberVO = memberVO;
		this.workOrdersVO = workOrdersVO;
	}

	public HistoryVO(int history_id, MemberVO memberVO,
			OperationsVO operationsVO, DefectsVO defectsVO,
			WorkOrdersVO workOrdersVO, String date_time, int quantity,
			String serial_no) {
		super();
		this.history_id = history_id;
		this.memberVO = memberVO;
		this.operationsVO = operationsVO;
		this.defectsVO = defectsVO;
		this.workOrdersVO = workOrdersVO;
		this.date_time = date_time;
		this.quantity = quantity;
		this.serial_no = serial_no;
	}
	
	public HistoryVO(MemberVO memberVO, OperationsVO operationsVO,
			DefectsVO defectsVO, WorkOrdersVO workOrdersVO, int quantity,
			String serial_no) {
		super();
		this.memberVO = memberVO;
		this.operationsVO = operationsVO;
		this.defectsVO = defectsVO;
		this.workOrdersVO = workOrdersVO;
		this.quantity = quantity;
		this.serial_no = serial_no;
	}

	public HistoryVO(int quantity, String serial_no) {
		super();
		this.quantity = quantity;
		this.serial_no = serial_no;
	}

	public int getHistory_id() {
		return history_id;
	}

	public void setHistory_id(int history_id) {
		this.history_id = history_id;
	}

	public MemberVO getMemberVO() {
		return memberVO;
	}

	public void setMemberVO(MemberVO memberVO) {
		this.memberVO = memberVO;
	}

	public OperationsVO getOperationsVO() {
		return operationsVO;
	}

	public void setOperationsVO(OperationsVO operationsVO) {
		this.operationsVO = operationsVO;
	}

	public DefectsVO getDefectsVO() {
		return defectsVO;
	}

	public void setDefectsVO(DefectsVO defectsVO) {
		this.defectsVO = defectsVO;
	}

	public WorkOrdersVO getWorkOrdersVO() {
		return workOrdersVO;
	}

	public void setWorkOrdersVO(WorkOrdersVO workOrdersVO) {
		this.workOrdersVO = workOrdersVO;
	}

	public String getDate_time() {
		return date_time;
	}

	public void setDate_time(String date_time) {
		this.date_time = date_time;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public String getSerial_no() {
		return serial_no;
	}

	public void setSerial_no(String serial_no) {
		this.serial_no = serial_no;
	}

	@Override
	public String toString() {
		return "HistoryVO [history_id=" + history_id + ", memberVO=" + memberVO
				+ ", operationsVO=" + operationsVO + ", defectsVO=" + defectsVO
				+ ", workOrdersVO=" + workOrdersVO + ", date_time=" + date_time
				+ ", quantity=" + quantity + ", serial_no=" + serial_no + "]";
	}

}
